home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual BASIC 5.0 (Ent. Edition) / Vb5ent Extractor.EXE / VB / SAMPLES / COMPTOOL / ACTVCOMP / COFFEE / CWMOD1.BAS < prev    next >
Encoding:
BASIC Source File  |  1996-11-27  |  423 b   |  16 lines

  1. Attribute VB_Name = "Module1"
  2. Option Explicit
  3.  
  4. Declare Function timeGetTime Lib "winmm.dll" () As Long
  5.  
  6. ' CoffeeWatch must be an ActiveX Exe, because
  7. '   it exposes the public NotifyMe object
  8. '   used for the call-back method demo.  It
  9. '   will never be started as a server, only
  10. '   as a standalone application.
  11. Sub Main()
  12.     If App.StartMode = vbSModeStandalone Then
  13.         Form1.Show
  14.     End If
  15. End Sub
  16.